//默认展示的列
 const initColumns = [
	{ name: "序号", code: "dataIndex", width: 60, checked: true, lock: true },
	{ name: "系统订单号", code: "sn", width: 150, checked: true, lock: false },
	{ name: "订单标签", code: "labelList", width: 120, checked: true, lock: false },
	{ name: "商品", code: "goodsList", width: 300, checked: true, lock: false },
	{ name: "店铺订单号", code: "outOrderSn", width: 180, checked: true, lock: false },
	{ name: "买家账号", code: "buyerAccount", width: 150, checked: true, lock: false },
	{ name: "店铺", code: "ecStoreName", width: 230, checked: true, lock: false },
	{ name: "采购额", code: "totalAmount", width: 120, checked: true, lock: false },
	{ name: "货品总数", code: "totalGoodsNum", width: 120, checked: true, lock: false },
	{ name: "货品种类", code: "skuTotal", width: 120, checked: true, lock: false },
	// {name:"平台应付",code:"ecReceivableAmount",width: 120, checked:true,lock:false},
	// {name:"平台运费",code:"ecShippingAmount",width: 120, checked:true,lock:false},
	{ name: "平台实付金额", code: "ecActualPayment", width: 120, checked: true, lock: false },
	{ name: "支付状态", code: "payState", width: 120, checked: true, lock: false },
	{ name: "订单状态", code: "state", width: 120, checked: true, lock: false },
	{ name: "异常处理意见", code: "errorInfoList", width: 120, checked: true, lock: false },
	{ name: "仓库状态", code: "warehouseOrderState", width: 120, checked: true, lock: false },
	{ name: "发货仓", code: "warehouseName", width: 150, checked: true, lock: false },
	{ name: "快递", code: "logisticsList", width: 180, checked: true, lock: false },
	{ name: "预估运费", code: "estimateFreightAmount", width: 120, checked: true, lock: false },
	{ name: "平台禁发快递公司", code: "noLogisticsList", width: 150, checked: true, lock: false },
	{ name: "买家留言", code: "buyerMessage", width: 120, checked: true, lock: false },
	{ name: "旗帜", code: "flag", width: 120, checked: true, lock: false },
	{ name: "卖家备注", code: "sellerMessage", width: 120, checked: true, lock: false },
	{ name: "订单备注", code: "orderRemark", width: 120, checked: true, lock: false },
	{ name: "平台最晚发货时间", code: "ecLastDeliveryTime", width: 160, checked: true, lock: false },
	{ name: "收件信息", code: "deliveryInfoList", width: 260, checked: true, lock: false },
	{ name: "重量", code: "totalWeight", width: 100, checked: true, lock: false },
	{ name: "发货时间", code: "deliveryTime", width: 150, checked: true, lock: false },
	{ name: "商品备注", code: "sysGoodsRemark", width: 150, checked: true, lock: false },
	{ name: "系统支付时间", code: "payTime", width: 150, checked: true, lock: false },
	{ name: "平台付款时间", code: "ecPayTime", width: 150, checked: true, lock: false },
];

const shipColumns = [
	{ name: "快递单打印", code: "printState", width: 120, checked: true, lock: false },
	{ name: "打印批次", code: "printBatchNumber", width: 120, checked: true, lock: false },
	{ name: "发货单打印", code: "shippingNotePrintState", width: 120, checked: true, lock: false },
]
const initShipColumns = [...initColumns];
initShipColumns.splice(4, 0, ...shipColumns);

//当前默认配置列
export const initColumnsConfig = {
	'sysOrder': initColumns,
	'history': initColumns,
	'payOrder': initColumns,
	'orderShip': initShipColumns,
}